package cn.jd.basic.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterMailDto {
    @NotBlank(message = "邮箱不能为空")
    // 邮箱号
    private String email;
    @NotBlank(message = "图形验证码不能为空")
    //图形验证码
    private String mailimageCodeValue;
    @NotBlank(message = "图形验证码key不能为空")
    // 图片验证码的key
    private String mailimageCodeKey;
    //密码
    @NotBlank(message = "密码不能为空")
    private String mailpassword;
    // 确认密码
    @NotBlank(message = "确认密码不能为空")
    private String mailpasswordRepeat;
    // 邮箱验证码
    @NotBlank(message = "邮箱验证码不能为空")
    private String mailsmsCode;
}
